package com.future.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.future.allUtils.enums.OptionOrder;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.EnumTypeHandler;

@Data
@AllArgsConstructor
@NoArgsConstructor


@TableName("`option`")
public class Option {
    @ApiModelProperty("选项ID")
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("问题ID")
    private Long questionId;
    @ApiModelProperty("选项内容")
    private String content;
    @ApiModelProperty("选项分数")
    private Integer score;

    private Integer sortOrder;
}
